home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 1 / Gigarom Macintosh Archives (Quantum Leap)(CDRM1080320)(1993).iso / FILES / HYP / H-I / HyperHackers.cpt / Hyper-Hackers Queue 1.0 / card_9969.txt < prev    next >
Text File  |  1989-02-26  |  2KB  |  42 lines

  1. -- card: 9969 from stack: in.0
  2. -- bmap block id: 0
  3. -- flags: 0000
  4. -- background id: 3797
  5. -- name: 
  6.  
  7.  
  8. -- part contents for background part 1
  9. ----- text -----
  10.  
  11. Date: 27 Nov 87 10:27 EST
  12. From: science@nems.ARPA (Mark Zimmermann)
  13.  
  14.  
  15.      A few quick questions (which might be best answered by
  16. examples of how to do things):
  17.   - how can I return more than 255 characters of results to HyperCard
  18. from my XFCNs?  (e.g., can I use a SetField... call, giving it a simple
  19. pointer to a pointer to my long string - or is that dangerous?)
  20.   - if I have generated a zero-terminated string in my XFCN, how can I
  21. return (a handle to) it to HyperCard without going through the pair of
  22. calls ZeroToPas and then PasToZero?
  23.   - how can I store information such as file vrefnums, etc., for use in
  24. later calls to my XFCNs, other than in HyperCard global variables which
  25. then have to be translated to/from strings every time?  (i.e., is there
  26. any way for me to pass binary parameters, perhaps arrays?; is there any
  27. way for me to reserve and hang on to a chunk of memory between calls to
  28. my XFCNs?; etc.)
  29.   - how does an XCMD return an "error" condition, so that the user can
  30. get the result string from returnValue?
  31.   - in HyperTalk, is there any way to ask for information from an arbitrary
  32. point within a file (other than sequentially reading up to that point from
  33. the start) - something like fseek() in <stdio>?
  34.      I am writing some XFCNs in Lightspeed C to retrieve information
  35. from my multi-megabyte inverted index ("Browser") files.  Thanks for any
  36. advice (and especially thanks for any code samples of XFCNs in LSC)!  ^z
  37.  
  38.  
  39.  
  40. -- part contents for background part 45
  41. ----- text -----
  42. XFCN & HyperTalk questions